package top.mcwebsite.playandroid.business.tixi.impl

import androidx.compose.runtime.Composable
import androidx.navigation.NavController
import top.mcwebsite.playandroid.business.tixi.api.TixiService
import top.mcwebsite.playandroid.lib.servicemanager.core.annoation.ServiceImpl

@ServiceImpl(TixiService::class, isSingleton = true)
class TixiServiceImpl : TixiService {
    @Composable
    override fun TixiPage(navController: NavController) {
        top.mcwebsite.playandroid.business.tixi.impl.ui.TixiPage()
    }

    @Composable
    override fun ArticleListPage(navController: NavController, cid: Long, title: String) {
        top.mcwebsite.playandroid.business.tixi.impl.ui.ArticleListPage(
            cid = cid,
            title = title
        )
    }
}